<?php
namespace Amis;
require_once 'vendor/autoload.php';

use Amis\facade\layout\Page;
use Amis\facade\dataviewer\CRUD;

header('Content-type:application/json');
$json = Page::title('数据列表')
    ->body(CRUD::title('用户数据表')->abc());
echo json_encode($json);
